package com.xusheng.cli.entity.bankCardModule;

import com.baomidou.mybatisplus.annotation.TableField;
import com.xusheng.cli.common.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 银行卡表(BankCard)表实体类
 *
 * @author whr
 * @since 2024-03-19 17:26:53
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class BankCard extends BaseEntity {
    private static final long serialVersionUID = 6211994039148160783L;
    /**
     * 所属人编号
     */
    private Long ownerId;
    /**
     * 商户编号
     */
    private Long merchantId;
    /**
     * 开户行
     */
    private String bankName;
    /**
     * 卡号
     */
    private String cardNo;
    /**
     * 持卡人姓名
     */
    private String name;
    /**
     * 银行预留手机号
     */
    private String mobile;
    /**
     * 是否为默认
     */
    private Boolean cardDefault;
    /**
     * 开户省份
     */
    private String bankProvince;
    /**
     * 开户城市
     */
    private String bankCity;
    private String idCard;
    /**
     * 短信验证码
     */
    @TableField(exist = false)
    private String code;
}

